import Vue from 'vue'
import App from './App'
import './uni.promisify.adaptor'
import uView from '@/uview-ui'
import store from './store'

// 全局混入方法
import globalMixin from '@/mixins/globalMixin'

Vue.config.productionTip = false
Vue.prototype.$store = store

Vue.use(uView)
Vue.mixin(globalMixin)
App.mpType = 'app'

const app = new Vue({
  store,
  ...App,
})
app.$mount()
